package com.kqzz.tbxt.bean;

import com.kqzz.tbxt.mapper.CosTenantServerAddressMapper;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Date;
import javax.persistence.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "cos_tenant_server_address")
public class CosTenantServerAddress {
    @Autowired
    private CosTenantServerAddressMapper cosTenantServerAddressMapper;

    @Id
    @Column(name = "c_id")
    private Long cId;

    @Column(name = "c_create_by")
    private Long cCreateBy;

    @Column(name = "c_create_time")
    private Date cCreateTime;

    @Column(name = "c_deleted")
    private Boolean cDeleted;

    @Column(name = "c_update_by")
    private Long cUpdateBy;

    @Column(name = "c_update_time")
    private Date cUpdateTime;

    @Column(name = "c_client_code")
    private String cClientCode;

    @Column(name = "c_tenant_id")
    private String cTenantId;

    @Column(name = "c_tenant_code")
    private String cTenantCode;

    @Column(name = "c_server_address")
    private String cServerAddress;

    /**
     * @return c_id
     */
    public Long getcId() {
        return cId;
    }

    /**
     * @param cId
     */
    public void setcId(Long cId) {
        this.cId = cId;
    }

    /**
     * @return c_create_by
     */
    public Long getcCreateBy() {
        return cCreateBy;
    }

    /**
     * @param cCreateBy
     */
    public void setcCreateBy(Long cCreateBy) {
        this.cCreateBy = cCreateBy;
    }

    /**
     * @return c_create_time
     */
    public Date getcCreateTime() {
        return cCreateTime;
    }

    /**
     * @param cCreateTime
     */
    public void setcCreateTime(Date cCreateTime) {
        this.cCreateTime = cCreateTime;
    }

    /**
     * @return c_deleted
     */
    public Boolean getcDeleted() {
        return cDeleted;
    }

    /**
     * @param cDeleted
     */
    public void setcDeleted(Boolean cDeleted) {
        this.cDeleted = cDeleted;
    }

    /**
     * @return c_update_by
     */
    public Long getcUpdateBy() {
        return cUpdateBy;
    }

    /**
     * @param cUpdateBy
     */
    public void setcUpdateBy(Long cUpdateBy) {
        this.cUpdateBy = cUpdateBy;
    }

    /**
     * @return c_update_time
     */
    public Date getcUpdateTime() {
        return cUpdateTime;
    }

    /**
     * @param cUpdateTime
     */
    public void setcUpdateTime(Date cUpdateTime) {
        this.cUpdateTime = cUpdateTime;
    }

    /**
     * @return c_client_code
     */
    public String getcClientCode() {
        return cClientCode;
    }

    /**
     * @param cClientCode
     */
    public void setcClientCode(String cClientCode) {
        this.cClientCode = cClientCode;
    }

    /**
     * @return c_tenant_id
     */
    public String getcTenantId() {
        return cTenantId;
    }

    /**
     * @param cTenantId
     */
    public void setcTenantId(String cTenantId) {
        this.cTenantId = cTenantId;
    }

    /**
     * @return c_tenant_code
     */
    public String getcTenantCode() {
        return cTenantCode;
    }

    /**
     * @param cTenantCode
     */
    public void setcTenantCode(String cTenantCode) {
        this.cTenantCode = cTenantCode;
    }

    /**
     * @return c_server_address
     */
    public String getcServerAddress() {
        return cServerAddress;
    }

    /**
     * @param cServerAddress
     */
    public void setcServerAddress(String cServerAddress) {
        this.cServerAddress = cServerAddress;
    }
}